import http from '../../utils/http'
// 开启并发请求首页全部数据，一次请求多个数据
export const reqIndexData = () => {
    return Promise.all([
        http.get('/index/findBanner'),
        http.get('/index/findCategory1'),
        http.get('/index/advertisement'),
        http.get('/index/findListGoods'),
        http.get('/index/findRecommendGoods')
    ])
}